package com.itheima.springbootmybatis.service;

import com.itheima.springbootmybatis.pojo.Merchant;

public interface UserService {
    //根据用户名查询用户
    Merchant findByUserName(String username);

    //注册
    void register(String username, String password,String nickname,String contactPhone,String contactAddress);

}
